<style>
    .information .stats a {
        width: 220px;
        text-align: right;
        display: inline-block;
        font-weight: bold;
        font-style: 1.2em;
    }

    .information .stats span {
        margin-left: 10px;
    }
</style>
<div class="project-block">
  <div class="img-tag">
	<%= link_to image_tag('../images/avatars/Project/0', :class => 'avatar2', :width => '64px', :height =>'64px') %>
  </div>
  
  
  
  <div class="wiki-description" style="margin-left: 40px; margin-top: 30px;">
      <%#= textilizable(project.short_description, :project => project) %>
      <% require "plain_text" %>
      <%= project.description%>
  </div>

  <div class="information">
    <p class="stats">
      <!--%= link_to project_info.followers_num, open_source_project_path(project) %-->
      <a>
      	<% if(project.owner_id.nil? || GithubUser.find(project.owner_id).name.nil?) %>
      		No information
      	<% else %>
      		<%=GithubUser.find(project.owner_id).name %>
      	<% end %>
      </a>
      <%= content_tag('span', "Creator") %>
    </p>

   
    

    <p class="stats">
      <!--%= link_to project_info.visit_num, open_source_project_path(project) %-->
      <a>
        <%= (project.language.nil?)?"No information":project.language %>
        <%#= short_num ((project.view_num.nil?)?0:project.view_num)+project.view_num_ossean+project.relative_topics.sum('view_num') %>
      </a>
      <%= content_tag('span', "Language") %>
    </p>
    
    
    <p class="stats">
      <!--%= link_to project_info.visit_num, open_source_project_path(project) %-->
      <a>
        <%= format("%.4f",(match_score * 10000)) %>
        <%#= short_num ((project.view_num.nil?)?0:project.view_num)+project.view_num_ossean+project.relative_topics.sum('view_num') %>
      </a>
      <%= content_tag('span', "Correlation") %>
    </p>
    <!--<p class="stats">-->
    <!--%=link_to project.code_line %-->
    <!--%= content_tag('span',  "行代码") %-->
    <!--</p>-->
  </div>


</div>
<div class="add-info">
  <!--<div class="main-language">-->

  <!--<%= content_tag('span', "#{l(:default_role_manager)}: ") %>-->

  <!--</div>-->
  <div class="licences">
    <%= content_tag('span', "Create time: ") %>
    <%= content_tag('span', project.created_at.to_s[0,10]) %>
  </div>
  
  <div class="licences">
    <%= content_tag('span', "Update time: ") %>
    <%= content_tag('span', (project.updated_at.nil?)?"No info":project.updated_at.to_s[0,10]) %>
  </div>

</div>

<div class="tags">
  <div id="tags">
    
  </div>
</div>

